package com.jams.goodox.activity.mine.ox;

/**
 * Created by Administrator on 2018/5/27.
 */

public class OxRecordBean {


    /**
     * id : 6
     * memberId : 15
     * operationType : 0
     * beforeAmount : 1
     * coinCount : 200
     * createTime : 1527390672000
     */

    private int id;
    private int memberId;
    private int operationType;
    private int beforeAmount;
    private int coinCount;
    private long createTime;

    String getType(){
        if(operationType==0)return "充值";
        else if(operationType==1)return "消费";
        else return "收入";
    }

    String getMoneyType(){
        if(operationType==1)return "-";
        else return "+";
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public int getOperationType() {
        return operationType;
    }

    public void setOperationType(int operationType) {
        this.operationType = operationType;
    }

    public int getBeforeAmount() {
        return beforeAmount;
    }

    public void setBeforeAmount(int beforeAmount) {
        this.beforeAmount = beforeAmount;
    }

    public int getCoinCount() {
        return coinCount;
    }

    public void setCoinCount(int coinCount) {
        this.coinCount = coinCount;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
